import request from '../../utils/request'

Page({
    data:{
        bannerList:[],
        recommendList:[]
    },
    onLoad(){

        request("/banner").then(res => {
            // console.log(res);
            this.setData({
                bannerList:res.data.banners
            })
        })
    }
})